package com.fuhao.goods.service;

import com.fuhao.core.base.BaseResponse;
import com.fuhao.dto.output.ProductDto;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author zhang
 * @title: ProductSearchService
 */
public interface ProductSearchService {

    @GetMapping("/search")
    BaseResponse<List<ProductDto>> search(String name);
}
